// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import request from "@/utils/request.js";


/**
 * 申请
 * @param object data
 *
 */
export function user_brand_request(data) {
	return request.post('user_brand_request', data, {
		noAuth: true
	});
}

/**
 * 申请详情
 *
 */
export function user_brand_request_detail(id) {
	return request.get('user_brand_request_detail/'+id, {}, {
		noAuth: true
	});
}

/**
 * 我的申请列表
 *
 */
export function user_brand_request_list(data) {
	return request.get('user_brand_request_list', data, {
		noAuth: true
	});
}

/**
 * 申请中的列表
 *
 */
export function user_brand_requesting_list(data) {
	return request.get('user_brand_requesting_list', data, {
		noAuth: true
	});
}

/**
 * 我的宽带列表
 *
 */
export function user_brand_list(data) {
	return request.get('user_brand_list', data, {
		noAuth: true
	});
}

/**
 * 技工技能列表
 *
 */
export function user_brand_del(id) {
	return request.get('user_brand_del/'+id, {}, {
		noAuth: true
	});
}

/**
 * 技工技能列表
 *
 */
export function tecer_tecs_list() {
	return request.get('tecer_tecs_list', {}, {
		noAuth: true
	});
}

/**
 * 技工擅长项目列表
 *
 */
export function tecer_items_list() {
	return request.get('tecer_item_list', {}, {
		noAuth: true
	});
}

/**
 * 保存擅长项目
 * @param object data
 *
 */
export function tecer_save_item(data) {
	return request.post('tecer_item_save', data, {
		noAuth: true
	});
}
/**
 * 保存技能证书
 * @param object data
 *
 */
export function tecer_save_tec(data) {
	return request.post('tecer_tec_save', data, {
		noAuth: true
	});
}

/**
 * 推荐技工列表
 *
 */
export function rec_tecer_list() {
	return request.get('tecer_list', {}, {
		noAuth: true
	});
}

/**
 * 拨打记录
 *
 */
export function user_call_list() {
	return request.get('user_call_list', {}, {
		noAuth: true
	});
}

/**
 * 接听记录
 *
 */
export function user_receive_list() {
	return request.get('user_receive_list', {}, {
		noAuth: true
	});
}

/**
 * 删除拨打记录
 * @param int id
 * 
 */
export function del_call_record(id) {
	return request.get('del_call_record/' + id, {}, {
		noAuth: true
	});
}